#include "SmallObject.h"
#include "SmallObjectAllocator.h"

using namespace MemMgr;

void* SmallObject::operator new(const size_t iSize)
{
	return SmallObjectAllocator::GetSingleton().Allocate(iSize);
}

void SmallObject::operator delete(void* iPtr, const size_t iSize)
{
	SmallObjectAllocator::GetSingleton().Deallocate(iPtr, iSize);
}
